package org.example.crazy.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.example.crazy.domain.User;

import java.util.List;

/**
 * @Author yzz
 * @CreateTime 2025/03/11
 * @Description DemoApplication
 */
public interface IDemoService  extends IService<User> {

    /**
     * dao层使用注解测试 foreach
     * @param ids
     * @return List<User>
     */
    List<User> getUsersByDaoAnnotation(List<Integer> ids);

    /**
     * dao层使用xml测试 foreach
     * @param ids
     * @return List<User>
     */
    List<User> getUsersByDaoXml(List<Integer> ids);
}
